home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-03-15 | 651 b | 22 lines | [TEXT/MMCC] |
- /************************************************************************/
- /* Project...: Standard C++ Library */
- /* Name......: exception */
- /* Purpose...: exception handling */
- /* Copyright.: ©Copyright 1993-95 by metrowerks inc */
- /************************************************************************/
-
- #ifndef _EXCEPTION_
- #define _EXCEPTION_
-
- class XUNEXPECTED; // TO BE SPECIFIED
-
- typedef void (*terminate_handler)();
- terminate_handler set_terminate(terminate_handler);
- void terminate();
-
- typedef void (*unexpected_handler)();
- unexpected_handler set_unexpected(unexpected_handler);
- void unexpected();
-
- #endif
-